GoXam for WPF v3
DoFromNodeKeyAdded Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : DoFromNodeKeyAdded Method
the modified node data
the key for the added "from" node data
This should be called when a "from" node data key has been added to the collection of "from" node keys.
Syntax
public void DoFromNodeKeyAdded( 
   NodeType nodedata,
   NodeKey fromkey
)

Parameters

nodedata
the modified node data
fromkey
the key for the added "from" node data
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the list of "from" keys implements System.Collections.Specialized.INotifyCollectionChanged the model will automatically call this method. Otherwise, you need to do so immediately after the value of FindFromNodeKeysForNode has changed.

This raises a Changed event with a value of ModelChange.AddedFromNodeKey.

See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members